package com.xjtu.mapper;

import com.github.pagehelper.Page;
import com.xjtu.entity.ElderlyCareRecord;
import com.xjtu.vo.Report.RecordData;

import java.util.Map;

/**
* @author 2070929887
* @description 针对表【elderly_care_record】的数据库操作Mapper
* @createDate 2023-11-12 14:47:30
* @Entity com.xjtu.mapper.ElderlyCareRecord
*/
public interface ElderlyCareRecordMapper {

    int deleteByPrimaryKey(Long id);

    int insert(ElderlyCareRecord record);

    int insertSelective(ElderlyCareRecord record);

    ElderlyCareRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ElderlyCareRecord record);

    int updateByPrimaryKey(ElderlyCareRecord record);

    Page<ElderlyCareRecord> pageQuery(String name);


    RecordData getByTimeMap(Map map);
}
